<?php
namespace App\Admin\Actions;

use Dcat\Admin\Grid\Model;

class LiveAction
{
    /**
     * @return string
     */
    protected $title = '去直播';

    public function render()
    {
        $form = NewHouseTable::make()->payload(['id'=>$this->getKey()]);

        return Model::make()
            ->xl()
            ->title($this->title)
            ->body($form)
            ->button('户型');
    }
}
